import request from '@/utils/request'

export function vehicleStatistics() {
  return request({
    url: '/system/statistics/vehicleStatistics',
    method: 'get',
  })
}

export function visitorStatistics() {
  return request({
    url: '/system/statistics/visitorStatistics',
    method: 'get',
  })
}

// 今日统计数据
export function todayStatistics() {
  return request({
    url: '/system/statistics/todayStatistics',
    method: 'get',
  })
}

// 临时车增长数据
export function statisticsTempVehicleIncrease(sumBy) {
  return request({
    url: '/system/statistics/statisticsTempVehicleIncrease?sumBy=' + sumBy,
    method: 'get',
  })
}

// 访客申请增长数据
export function visitIncrease(sumBy) {
  return request({
    url: '/system/statistics/statisticsVisitIncrease?sumBy=' + sumBy,
    method: 'get',
  })
}

// 访客人数增长数据
export function visitPersonIncrease(sumBy) {
  return request({
    url: '/system/statistics/statisticsVisitPersonIncrease?sumBy=' + sumBy,
    method: 'get',
  })
}

// 访客车数增长数据
export function visitVehicleIncrease(sumBy) {
  return request({
    url: '/system/statistics/statisticsVisitVehicleIncrease?sumBy=' + sumBy,
    method: 'get',
  })
}
